<?php
/* @var $this SuratMasukController */
/* @var $model SuratMasuk */
/* @var $form CActiveForm */
?>

<?php $this->beginWidget('ext.widgets.XPanel', array('width'=>900, 'height'=>130, 'title'=> 'Pegawai')); ?>

<?php $form=$this->beginWidget('ext.CAxActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route), 
	'method'=>'get',
)); ?>
    
    <table class="ma-table">
        <tbody>
            <tr>                
                <td class="labelfield">
                        <?php echo $form->label($model,'no_surat').':'; ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($model,'no_surat'); ?>
                </td>
                <td class="labelfield">
                        <?php echo $form->label($model,'Nama Penerima').':'; ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($model,'untuk'); ?>
                </td>
            </tr>
<tr>
                <td class="labelfield">
                        <?php echo $form->label($model,'tanggal_masuk').':'; ?>
                </td>
                <td>
                        <?php
                     $this->widget(
                                'ext.jui.EJuiDateTimePicker',
                                array(
                                    'model'     => $model,
                                    'attribute' => 'tanggal_masuk',
                                    'language'=> 'en',//default Yii::app()->language
                                    'mode'    => 'date',//'datetime' or 'time' ('datetime' default)
                                    'options'   => array(
                                        'dateFormat' => 'yy-mm-dd',
                                        'timeFormat' => 'hh:mm tt',//'hh:mm tt' default
                                    ),
                                    'htmlOptions'=>array(
                                        'placeholder'=>'Tanggal'
                                    )
                                )
                            );

                    ?>
                </td>
                <td class="labelfield">
                        <?php echo $form->label($model,'Nama Pengirim').':'; ?>
                </td>
                <td>
                        <?php echo CHtml::activeTextField($model,'dari'); ?>
                </td>
</tr>
	<tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>
		<?php echo CHtml::submitButton('Search', array('class'=>'ax-btn')); ?>
            </td>
	</tr>
        </tbody></table>

<?php $this->endWidget(); ?>
<?php $this->endWidget(); ?>

